<html>
<head>
	<meta charset="UTF-8">
	<title>用户注册</title>
	<link rel="stylesheet" href="./assets/css/bootstrap.min.css">
</head>
<body>
<h2>请填写注册信息</h2>
<form class="form-horizontal" method="post" action="index.php?c=index&m=adduser" enctype="multipart/form-data"> 
  
  <div class="form-group">
    <label for="inputEmail3" class="col-md-2 control-label">姓名</label>
    <div class="col-md-6">
      <input type="text" class="form-control" id="inputEmail3" placeholder="姓名" name="username">
    </div>
  </div>

   <div class="form-group">
    <label for="inputPswd3" class="col-md-2 control-label">密码</label>
    <div class="col-md-6">
      <input type="password" class="form-control" id="inputPswd3" placeholder="密码" name="password">
    </div>
  </div>

  <div class="form-group">
    <label for="inputPswd3" class="col-md-2 control-label">性别</label>
    <div class="col-md-6">
 	<label class="radio-inline">
  <input type="radio" name="gender" id="inlineRadio1" value="0"> 男
	</label>
	<label class="radio-inline">
  <input type="radio" name="gender" id="inlineRadio2" value="1"> 女
	</label>
    </div>
  </div>

<div class="form-group">
    <label for="inputDate3" class="col-md-2 control-label">生日</label>
    <div class="col-md-6">
      <input type="date" class="form-control" id="inputDate3" name="birthdate">
    </div>
  </div>

<div class="form-group">
    <label for="inputDate3" class="col-md-2 control-label">爱好</label>
<div class="col-md-6">
 <label class="checkbox-inline">
  <input type="checkbox" id="inlineCheckbox1" name="hobby[]" value="旅游">旅游
</label>
<label class="checkbox-inline">
  <input type="checkbox" id="inlineCheckbox2" name="hobby[]" value="登山">登山
</label>
<label class="checkbox-inline">
  <input type="checkbox" id="inlineCheckbox3" name="hobby[]" value="上网">上网
</label>
 <label class="checkbox-inline">
  <input type="checkbox" id="inlineCheckbox1" name="hobby[]" value="游泳">游泳
</label>
   </div>
 </div>

 <div class="form-group">
    <label for="inputDate3" class="col-md-2 control-label">学历</label>
    <div class="col-md-6">
<select class="form-control" name="degree">
  <option value="1">高中</option>
  <option value="2">大学</option>
  <option value="3">研究生</option>
  <option value="4">博士</option>
 </select>
    </div>
  </div>

<div class="form-group">
    <label for="inputIntro3" class="col-md-2 control-label">自我介绍</label>
    <div class="col-md-6">
<textarea class="form-control" id="inputIntro3" rows="3" name="intro"></textarea>
    </div>
  </div> 

  <div class="form-group">
    <label for="inputIntro3" class="col-md-2 control-label">头像</label>
    <div class="col-md-6">
	<input type="file" name="pic">
    </div>
  </div> 

  <div class="form-group">
    <div class="col-md-offset-2 col-md-6">
      <button type="submit" class="btn btn-default">提交</button>
      <button type="reset" class="btn btn-default">重置</button>
    </div>
  </div>

</form>	
</body>
</html>